package whf.framework.web.tag.ext;

import java.util.List;

import whf.framework.security.entity.User;
import whf.framework.web.tag.TableColumn;

/**
 * @author customize table attributes
 *
 */
public class TableAttributes {
	private List<TableColumn> tableColumns;
	
	private int pageSize;
	
	private String tableId;
	
	private String queryString;
	
	private User user;
	
	public TableAttributes(List<TableColumn> columns, int pageSize, String queryString){
		this.tableColumns = columns;
		this.pageSize = pageSize;
		this.queryString = queryString;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public List<TableColumn> getTableColumns() {
		return tableColumns;
	}

	public void setTableColumns(List<TableColumn> tableColumns) {
		this.tableColumns = tableColumns;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getQueryString() {
		return queryString;
	}

	public void setQueryString(String queryString) {
		this.queryString = queryString;
	}
}
